
def solution(a):
    return len(set(a))

a = 'abaccafdaf'
print(solution(a))